package com.cloud.service;

import com.cloud.Pay;
import com.cloud.R;
import com.cloud.service.impl.PaymentFallbackService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "nacos-payment-provider",fallback = PaymentFallbackService.class)
public interface PaymentService {
    @GetMapping("/consumer/paymentSQL/{id}")
    R<Pay> paymentSQL(Long id);

}
